import sys
sys.path.append('./')

from modules import user_mgr
from modules import session_mgr
from modules import tests_mgr

async def test_session():
    # res = await session_mgr.create('dahuamao')
    # print(res)

    # res = await session_mgr.update(
    #     session_id="26521aeb03d67995d9af0fb5908ad5a55cdb78eb083c3987e0bdd1b93863086d",
    #     update_data={"content": 'B'}
    # )
    # print(res)

    # res = await session_mgr.delete_info(
    #     session_id="eaa35d8195f20bb84851b7917c3d1063bfeed4cc6efba1810a0d157d973f5744",
    # )
    # print(res)

    res = await tests_mgr.get_list(appid="wx5a8968050404bdd4")
    print(res)


if __name__ == '__main__':
    import asyncio
    asyncio.run(test_session())